package com.ccs.demo;

import org.springframework.web.bind.annotation.*;


@RequestMapping("/m")
@RestController
public class text1 {
    @RequestMapping(value = "/v1",method = RequestMethod.GET)
    public String v1(){
        return "hello v1 ";
    }

    @RequestMapping(value ="/v2",method=RequestMethod.POST)
    public String v2(){
        return "hello v2";
    }

    @GetMapping("/v11")
    public String v11(){
        return "hello v11";
    }

    @PostMapping("/v22")
    public String v22(){
        return "hello v22";
    }



}
